Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeScript-based code completion in esbuild script #2808

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

lpsinger
Copy link
Member

Code completion for esbuild.BuildOptions was not working in this file because the name of the file (esbuild.js) shadowed the name of the NPM package containing the types (esbuild).

Renaming the file fixes the code completion.

Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 6.06%. Comparing base (1caff5f) to head (3aca71a).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #2808   +/-   ##
=====================================
  Coverage   6.06%   6.06%           
=====================================
  Files        171     171           
  Lines       4334    4334           
  Branches     476     476           
=====================================
  Hits         263     263           
  Misses      4069    4069           
  Partials       2       2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Code completion for esbuild.BuildOptions was not working in this
file because the name of the file (esbuild.js) shadowed the name of
the NPM package containing the types (esbuild).

Renaming the file fixes the code completion.
@lpsinger lpsinger force-pushed the esbuild-intellisense branch from 96197d2 to 3aca71a Compare December 16, 2024 19:38
@dakota002 dakota002 merged commit 9a85dc8 into nasa-gcn:main Dec 16, 2024
9 checks passed
@lpsinger lpsinger deleted the esbuild-intellisense branch December 16, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants